package model.company;

import java.util.Date;

/**
 * Companyotherloan entity. @author MyEclipse Persistence Tools
 */

public class Companyotherloan implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Date loandata;
	private Date duedate;
	private Double loanrate;
	private Double loanamount;
	private Integer cid;

	// Constructors

	/** default constructor */
	public Companyotherloan() {
	}

	/** full constructor */
	public Companyotherloan(String name, Date loandata, Date duedate,
			Double loanrate, Double loanamount, Integer cid) {
		this.name = name;
		this.loandata = loandata;
		this.duedate = duedate;
		this.loanrate = loanrate;
		this.loanamount = loanamount;
		this.cid = cid;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getLoandata() {
		return this.loandata;
	}

	public void setLoandata(Date loandata) {
		this.loandata = loandata;
	}

	public Date getDuedate() {
		return this.duedate;
	}

	public void setDuedate(Date duedate) {
		this.duedate = duedate;
	}

	public Double getLoanrate() {
		return this.loanrate;
	}

	public void setLoanrate(Double loanrate) {
		this.loanrate = loanrate;
	}

	public Double getLoanamount() {
		return this.loanamount;
	}

	public void setLoanamount(Double loanamount) {
		this.loanamount = loanamount;
	}

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

}